Skip to content

fix(mps-sync-plugin): display the versionHash of the writable binding…#2381

Open
abstraktor wants to merge 1 commit intomainfrom
fix/hash-in-status-bar
Open

fix(mps-sync-plugin): display the versionHash of the writable binding…#2381
abstraktor wants to merge 1 commit intomainfrom
fix/hash-in-status-bar

Conversation

@abstraktor
Copy link
Collaborator

… in status bar

  • prefer displaying the hash of writable bindings over just any

… in status bar

- prefer displaying the hash of writable bindings over just any
@github-actions
Copy link
Contributor

Test Results

  243 files    243 suites   48m 8s ⏱️
1 387 tests 1 376 ✅ 11 💤 0 ❌
1 397 runs  1 386 ✅ 11 💤 0 ❌

Results for commit 1cc1a7a.

@github-actions
Copy link
Contributor

JVM coverage report

Overall Project 58.93% -0.05%
Files changed 3.88%

File Coverage
ModelSyncService.kt 70.47% -1.65%
IModelSyncService.kt 58.21% 🍏
ModelSyncStatusWidget.kt 0.56% -10.78%

fun getServerConnections(): List<IServerConnection>
fun getUsedServerConnections(): List<IServerConnection>
fun getBindings(): List<IBinding>
fun isReadonly(binding: IBinding): Boolean

Check warning

Code scanning / detekt

The function isReadonly is missing documentation. Warning

The function isReadonly is missing documentation.
result = when (val status = binding.getStatus()) {
IBinding.Status.Disabled -> "Disabled"
IBinding.Status.Initializing -> "Initializing"
is IBinding.Status.Synced -> "Synchronized: ${status.versionHash.take(5)}"

Check warning

Code scanning / detekt

This expression contains a magic number. Consider defining it to a well named constant. Warning

This expression contains a magic number. Consider defining it to a well named constant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant